import App from './App'
import store from './store'
import {
	createSSRApp
} from 'vue'
import uviewPlus from 'uview-plus'
// 如此配置即可

export function createApp() {
	const app = createSSRApp(App)
	uni.$u.config.unit = 'rpx'
	// app.config.productionTip = false
	app.config.globalProperties.$store = store
	app.use(uviewPlus)
	return {
		app
	}
}